package com.naihe.anderson.sms.entity;

import java.io.Serializable;

public class Note implements Serializable, Comparable<Note> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 143754548L;
	
	public static final String _ID = "_id";
	public static final String CREATE_TIME = "create_time";
	public static final String BODY = "body";
	public static final String TITLE = "title";
	public static final String PICPATH = "picpath";
	/**
	 * 密码
	 */
	public static final String CIPHER = "cipher";
	
	public long id;
	public String body;
	public long createTime;
	public String title;
	public String cipher;
	public String picpath;
	
	@Override
	public int compareTo(Note another) {
		if(another.createTime > createTime)
			return 1;
		else
			return -1;
	}

}
